package com.wosai.register.model;

import java.util.List;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.fasterxml.jackson.annotation.JsonProperty;

@JsonIgnoreProperties(ignoreUnknown=true)
public class Product extends MerchantBaseEntity {
    @JsonProperty("goods_id")
    private String id;
    @JsonProperty("goods_name")
    private String name;
    @JsonProperty("goods_name_sort")
    private String idx;
    @JsonProperty("goods_type")
    private String categoryId;
    @JsonProperty("goods_price")
    private String price;
    @JsonProperty("goods_sale_price")
    private String salePrice;
    @JsonProperty("goods_more_price_flg")
    private String morePrice;
    @JsonProperty("goods_bar_code")
    private String barcode;
    @JsonProperty("goods_weight_flg")
    private String nonStandard;
    @JsonProperty("goods_favorite_flg")
    private String popular;
    @JsonProperty("goods_state")
    private String deleted;
    
    private List<Price> prices;
    
    public String getId() {
        return id;
    }
    public void setId(String id) {
        this.id = id;
    }
    public String getName() {
        return name;
    }
    public void setName(String name) {
        this.name = name;
    }
    public String getIdx() {
        return idx;
    }
    public void setIdx(String idx) {
        this.idx = idx;
    }
    public String getCategoryId() {
        return categoryId;
    }
    public void setCategoryId(String categoryId) {
        this.categoryId = categoryId;
    }
    public String getPrice() {
        return price;
    }
    public void setPrice(String price) {
        this.price = price;
    }
    public String getSalePrice() {
        return salePrice;
    }
    public void setSalePrice(String salePrice) {
        this.salePrice = salePrice;
    }
    public String getMorePrice() {
        return morePrice;
    }
    public void setMorePrice(String morePrice) {
        this.morePrice = morePrice;
    }
    public String getBarcode() {
        return barcode;
    }
    public void setBarcode(String barcode) {
        this.barcode = barcode;
    }
    public String getNonStandard() {
        return nonStandard;
    }
    public void setNonStandard(String nonStandard) {
        this.nonStandard = nonStandard;
    }
    public String getPopular() {
        return popular;
    }
    public void setPopular(String popular) {
        this.popular = popular;
    }
    public List<Price> getPrices() {
        return prices;
    }
    public void setPrices(List<Price> prices) {
        this.prices = prices;
    }
    public String getDeleted() {
        return deleted;
    }
    public void setDeleted(String deleted) {
        this.deleted = deleted;
    }
    
}
